package com.king.hrmsdev.mapper;

import com.king.hrmsdev.entity.Reward;
import com.king.hrmsdev.pojo.Vrewardinfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Auther:SnakeKing
 * @Date: 2019-09-12
 * @Description: com.king.hrmsdev.mapper
 * @version:1.0
 */
@Mapper
public interface RewardMapper {

    List<Vrewardinfo> Findallreward();//查询所有reward*

    int Insertreward(Reward reward);//插入reward表信息*

    int Updatereward(Reward reward);//通过工号id修改reward数据//可能有bug*

    int deletereward(int reward_id);//通过reward_id删除reward数据*

    List<Vrewardinfo> RewardFuzzyreward(Map map);//模糊条件查询*

    Reward checkmore(Map map);

}
